<?php

namespace app\shop\model\plus\model;

use think\Model;
/**
 * 应用模型
 */
class AgentSet extends Model
{
    protected $pk = "app_id";

    public function getIsOpenAttr($value)
    {
        return $value == 1 ? true : false;
    }

    public function setIsOpenAttr($value)
    {
        return $value == true ? 1 : 0;
    }
}
